// 验证身份
const jwt = require('koa-jwt')
const { SECRET } = require('../config')

const auth = jwt({ secret: SECRET })

module.exports = auth
